[LINUX] Implement the idle=poll option in the kernel when running on Xen.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 3 Jan 2007 14:08:42 +0000 (14:08 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 3 Jan 2007 14:08:42 +0000 (14:08 +0000)
commit0550678b74b1afac96ff8e823bf50b436f66dc57
treefdff9abbc9543e8e9022f02a2c1084ff9ba9672a
parent49f1cd42a181a4123c28e8262bc3c219e2dc74d4
[LINUX] Implement the idle=poll option in the kernel when running on Xen.

This causes the kernel to use a polling loop rather than hypercall
down to block. I have found this useful to profile the amount of sleep
cycles when using xenoprof, there may be other uses.

Signed-off-by: Amitabha Roy <amitabha.roy@gmail.com>
linux-2.6-xen-sparse/arch/i386/kernel/process-xen.c
linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c